package com.lzz.dao;

import com.lzz.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author zhenzhen
 * @date 2018-12-21 上午10:03
 */
@Mapper
@Component(value = "userDao")
public interface UserDao {

    int insert(User user);
    int delete(String uuid);
    int update(User user);
    User selectById(String uuid);
    User selectByUserName(String name);
    List<User> selectPage();

}
